package ledrpt

class MergeTotalByDayController {
    def dynamicQueryService
    def mergeTotalByDay() {
        params.SYS_QUERY_NAME='totalOutputByDayRpt'
        def totalOutputByDayRpt =dynamicQueryService.queryForList(params)
        params.SYS_QUERY_NAME='totalYieldByDayRpt'
        def totalYieldByDayRpt =dynamicQueryService.queryForList(params)
        params.SYS_QUERY_NAME='totalChipYieldByDayRpt'
        def totalChipYieldByDayRpt =dynamicQueryService.queryForList(params)

        [totalOutputByDayRpt:totalOutputByDayRpt,totalYieldByDayRpt:totalYieldByDayRpt,totalChipYieldByDayRpt:totalChipYieldByDayRpt]
    }
}
